<?php

namespace app\common\model;

use think\Model;

class Category extends Model
{
    public function getCategoryAttr($value)
    {
        return $value ? explode("_",$value) : [];
    }
}
